﻿
using GCC.Container.Models;

namespace System.IMServer.TextMessageCenter.WSModels
{
    /// <summary>
    /// 用户上线消息
    /// </summary>
    public class UserOnline : WSMessageRequest
    {
        public List<UserDetail> Users { get; set; } = new();

        public class UserDetail
        {
            /// <summary>
            /// 用户ID
            /// </summary>
            public long UID { get; set; }
            /// <summary>
            /// 端ID
            /// </summary>
            public string ClientID { get; set; } = "";
            /// <summary>
            /// 类型
            /// </summary>
            public string ClientType { get; set; } = "";
        }
    }
}
